package chess;

import java.awt.Color;
import java.util.List;

import chess.Board.PIECETYPE;

public class Piece implements IPiece {
	int i, j;
	PIECETYPE type;
	Color color;
	boolean alreadyMoved = false;
	
	List<Square> possibleMoves;

	public void setPossibleMoves(List<Square> possibleMoves) {
		this.possibleMoves = possibleMoves;
	}

	public Piece(int i, int j, PIECETYPE type, Color color) {
		this.i = i;
		this.j = j;
		this.type = type;
		this.color = color;
	}

	@Override
	public void kill() {
		// TODO Auto-generated method stub

	}

	@Override
	public void move() {
		switch (type) {
		case PAWN:
			break;
		case KNIGHT:
			break;
		case BISHOP:
			
			break;
		case KING:
			break;
		}
	}
}